﻿<%@ Page Language="C#" MasterPageFile="~/MasterHome.master" AutoEventWireup="true"
    UICulture="Auto" Culture="Auto" CodeFile="~/home.aspx.cs" ValidateRequest="false"
    Inherits="home" Title="Gluaygluay.com - Thailand's Comparison Site" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <asp:Literal runat="server" ID="litZopim" Visible="false">
    <script type="text/javascript">
        window.$zopim || (function(d, s) { var z = $zopim = function(c) { z._.push(c) }, $ = z.s = d.createElement(s), e = d.getElementsByTagName(s)[0]; z.set = function(o) { z.set._.push(o) }; z._ = []; z.set._ = []; $.async = !0; $.setAttribute('charset', 'utf-8'); $.src = '//cdn.zopim.com/?13PP2NTdJwR5x1J6LoirXDwV24QRLFR5'; z.t = +new Date; $.type = 'text/javascript'; e.parentNode.insertBefore($, e) })(document, 'script');
        </script> </asp:Literal>
    <!-- Add jQuery library -->

    <script type="text/javascript" src="/includes/fancybox/lib/jquery-1.7.2.min.js"></script>

    <!-- Add fancyBox main JS and CSS files -->

    <script type="text/javascript" src="/includes/fancybox/source/jquery.fancybox.js?v=2.0.6"></script>

    <link rel="stylesheet" type="text/css" href="/includes/fancybox/source/jquery.fancybox.css?v=2.0.6"
        media="screen" />

    <script type="text/javascript">
        $(document).ready(function() {
            //$('.fancybox').fancybox();
            $(".fancybox").fancybox({
                'width': 788,
                'height': 470,
                'autoScale': false,
                'padding': '0',
                'transitionIn': 'none',
                'transitionOut': 'none',
                'type': 'iframe'
            });

        });
    </script>

    <style type="text/css">
        .fancybox-custom .fancybox-skin
        {
            box-shadow: 0 0 50px #222;
        }
    </style>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="cpHeader" runat="Server">
    <div class="left w460" style="text-align: center;">
        <!-- Showcase  > iPhone 5 Lucky Draw  |  Starts  -->
        <a href="" runat="server" id="alinkTerm">
            <asp:ImageMap runat="server" ID="imgMap" ImageUrl="<%$ Resources:ImageResource,LuckyDrawUrl%>"
                ToolTip="<%$ Resources:HomePage,LuckyDraw%>">
            </asp:ImageMap>
        </a>
        <!-- Showcase  > iPhone 5 Lucky Draw  |  Ends    -->
        <%--<div style="height: 10px;">
        </div>
        <%=GetGlobalResourceObject("HomePage", "QuoteDescription")%>
        <div style="height: 10px;">
        </div>
        <br />
        <br />
        <a href="/car-insurance/car-details.aspx">
            <img src="/images/bg/showcase-car.png" runat="server" alt="Car Insurance" /></a>--%>
    </div>
    <div class="right w460">
        <%--        <h3 class="m1203"><%=GetGlobalResourceObject("HomePage", "QuoteOffer")%></h3>
        <h1 class="m120"><%=GetGlobalResourceObject("HomePage", "QuoteTitle")%></h1>
        <h2 class="sh2"><%=GetGlobalResourceObject("HomePage", "QuoteDescription")%></h2>--%>
        <%--        <div style="height:77px;"></div>
        <h2 style="font-size:32px; letter-spacing:0.2px;"><%=GetGlobalResourceObject("HomePage", "QuoteOffer")%></h2>
        <h1 style="font-size:23px; letter-spacing:-0.3px;"><%=GetGlobalResourceObject("HomePage", "QuoteDescription")%></h1>
        <div style="height:15px;"></div>--%>
        <!--- NEW CHANGES --->
        <div style="height: 48px;">
        </div>
        <asp:Image runat="server" ID="imgFeature" ImageUrl="<%$ Resources:ImageResource,FeatureUrl%>"
            alt="30 Days Money back Guarantee + Instant Coverage (Termsn and conditions apply)" />
        <div style="height: 35px;">
        </div>
        <div id="divhotline" runat="server" style="width: 355px; text-align: center;">
            <asp:Image runat="server" ID="imgHotLine" ImageUrl="<%$ Resources:ImageResource,CallUsNow%>"
                alt="Hotline 02-268-8222 - Monday - Friday : 9.30am to 5.30pm" />
        </div>
        <div style="height: 35px;">
        </div>
        <!--- NEW CHANGES --->
        <ul id="getquote">
            <li class="gg-en">
                <asp:HyperLink runat="server" ID="hplGetQuote" ToolTip="<%$ Resources:Menu,GetACarInsuranceQuote%>"
                    NavigateUrl="~/car-insurance/car-details.aspx" />
            </li>
        </ul>
        <div style="height: 40px;">
        </div>
        <%--        <div id="divhotline" runat ="server" style="width:355px; text-align:center;">            
            <asp:Image runat="server" ID="imgHotLinex" ImageUrl="<%$ Resources:ImageResource,HotLineUrl%>" alt="Hotline 02-268-8222 - Monday - Friday : 9.30am to 5.30pm" />
        </div>--%>
        <div id="divcallme" runat="server" visible="false">
            <ul id="callme">
                <li class="gg-en"><a class="fancybox" href="/car-insurance/callme.aspx"></a></li>
            </ul>
        </div>
    </div>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cpBody" runat="Server">
    <%--<asp:ScriptManager ID="ScriptManager1" EnablePartialRendering="true" runat="server">
    </asp:ScriptManager>--%>
    <div id="slogo">
        <div class="logo_wrap">
            <h4>
                <%=GetGlobalResourceObject("HomePage", "OurPartners")%></h4>
            <div class="infiniteCarousel">
                <ul id="scroller">
                    <li>
                        <asp:HyperLink ID="hplChartis" NavigateUrl="" runat="server" CssClass="someClass"
                            ToolTip="<%$ Resources:Provider,Chartis%>">
                        <img src="/images/public/chartis_logo.png" alt="Chartis" height="75" width="180" />
                        </asp:HyperLink></li>
                    <li>
                        <asp:HyperLink ID="hplAZCP" NavigateUrl="" runat="server" CssClass="someClass" ToolTip="<%$ Resources:Provider,AZCP%>">
                        <img src="/images/public/allianz_logo.png" alt="Allianz" height="75" width="180" /></asp:HyperLink>
                    </li>
                    <li>
                        <asp:HyperLink ID="hplAXA" NavigateUrl="~/partners/axa-insurance.aspx" runat="server"
                            CssClass="someClass" ToolTip="<%$ Resources:Provider,AXA%>">
                        <img src="/images/public/axa_logo.png" alt="AXA" height="75" width="180" /></asp:HyperLink></li>
                    <li>
                        <asp:HyperLink ID="hplBKI" NavigateUrl="~/partners/bki-insurance.aspx" runat="server"
                            CssClass="someClass" ToolTip="<%$ Resources:Provider,BKI%>">
                        <img src="/images/public/bk_logo.png" alt="Bangkok Insurance" height="75" width="180" /></asp:HyperLink></li>
                    <li>
                        <asp:HyperLink ID="hplDhipaya" NavigateUrl="~/partners/dhipaya-insurance.aspx" runat="server"
                            CssClass="someClass" ToolTip="<%$ Resources:Provider,Dhipaya%>">
                        <img src="/images/public/dhipaya_logo.png" alt="Viriyah" height="75" width="180" /></asp:HyperLink></li>
                    <li>
                        <asp:HyperLink ID="hplKrungthai" NavigateUrl="~/partners/krungthai-insurance.aspx"
                            runat="server" CssClass="someClass" ToolTip="<%$ Resources:Provider,KPI%>">
                        <img src="/images/public/krungthai_logo.png" alt="Krungthai panich Insurance" height="75"
                            width="180" /></asp:HyperLink></li>
                    <li>
                        <asp:HyperLink ID="hplKSK" NavigateUrl="~/partners/ksk-insurance.aspx" runat="server"
                            CssClass="someClass" ToolTip="<%$ Resources:Provider,KSK%>">
                        <img src="/images/public/ksk_logo.png" alt="KSK Insurance" height="75" width="180" /></asp:HyperLink>
                    </li>
                    <li>
                        <asp:HyperLink ID="hplLMG" NavigateUrl="~/partners/lmg-insurance.aspx" runat="server"
                            CssClass="someClass" ToolTip="<%$ Resources:Provider,LMG%>">
                        <img src="/images/public/lmg_logo.png" alt="LMG Insurance" height="75" width="180" /></asp:HyperLink>
                    </li>
                    <li>
                        <asp:HyperLink ID="hplMittare" NavigateUrl="~/partners/mittare-insurance.aspx" runat="server"
                            CssClass="someClass" ToolTip="<%$ Resources:Provider,Mittare%>">
                        <img src="/images/public/mittare_logo.png" alt="Mittare" height="75" width="180" /></asp:HyperLink>
                    </li>
                    <li>
                        <asp:HyperLink ID="hplMSIG" NavigateUrl="~/partners/msig-insurance.aspx" runat="server"
                            CssClass="someClass" ToolTip="<%$ Resources:Provider,MSIG%>">
                        <img src="/images/public/msig_logo.png" alt="MSIG" height="75" width="180" /></asp:HyperLink>
                    </li>
                    <li>
                        <asp:HyperLink ID="hplMTI" NavigateUrl="~/partners/muangthai-insurance.aspx" runat="server"
                            CssClass="someClass" ToolTip="<%$ Resources:Provider,Muangthai%>">
                        <img src="/images/public/mti_logo.png" alt="Muang thai insurance" height="75" width="180" /></asp:HyperLink>
                    </li>
                    <li>
                        <asp:HyperLink ID="hplSCSMG" NavigateUrl="~/partners/scsmg-insurance.aspx" runat="server"
                            CssClass="someClass" ToolTip="<%$ Resources:Provider,SCSMG%>">
                        <img src="/images/public/scsmg_logo.png" alt="Siam Commercial Bank" height="75" width="180" /></asp:HyperLink>
                    </li>
                    <li>
                        <asp:HyperLink ID="hplSMK" NavigateUrl="~/partners/synmunkong-insurance.aspx" runat="server"
                            CssClass="someClass" ToolTip="<%$ Resources:Provider,SMK%>">
                        <img src="/images/public/synmunkong_logo.png" alt="Syn Mun Kong" height="75" width="180" /></asp:HyperLink>
                    </li>
                    <li>
                        <asp:HyperLink ID="hplThaivivat" NavigateUrl="~/partners/thaivivat-insurance.aspx"
                            runat="server" CssClass="someClass" ToolTip="<%$ Resources:Provider,Thaivivat%>">
                        <img src="/images/public/thaivivat_logo.png" alt="Thaivivat insurance" height="75"
                            width="180" /></asp:HyperLink></li>
                    <li>
                        <asp:HyperLink ID="hplTMS" NavigateUrl="~/partners/tokio-insurance.aspx" runat="server"
                            CssClass="someClass" ToolTip="<%$ Resources:Provider,Tokio%>">
                        <img src="/images/public/tm_logo.png" alt="Tokio Marine" height="75" width="180" /></asp:HyperLink>
                    </li>
                    <li>
                        <asp:HyperLink ID="hplViriyah" NavigateUrl="~/partners/viriyah-insurance.aspx" runat="server"
                            CssClass="someClass" ToolTip="<%$ Resources:Provider,Viriyah%>">
                        <img src="/images/public/viriyah_logo.png" alt="Viriyah" height="75" width="180" /></asp:HyperLink>
                    </li>
                </ul>
            </div>
        </div>
    </div>
    <div class="clear">
    </div>
    <div id="maincon">
        <div class="left w460">
            <h4>
                <%=GetGlobalResourceObject("HomePage", "QuoteOnGG")%></h4>
            <ul id="gg-seo">
                <li class="mi"><span>
                    <%=GetGlobalResourceObject("HomePage", "List1")%></span>
                    <%=GetGlobalResourceObject("HomePage", "List1Description")%>
                </li>
                <li class="ip"><span>
                    <%=GetGlobalResourceObject("HomePage", "List2")%></span>
                    <%=GetGlobalResourceObject("HomePage", "List2Description")%>
                </li>
                <li class="pg"><span>
                    <%=GetGlobalResourceObject("HomePage", "List3")%></span>
                    <%=GetGlobalResourceObject("HomePage", "List3Description")%>
                </li>
                <li class="cs"><span>
                    <%=GetGlobalResourceObject("HomePage", "List4")%></span>
                    <%=GetGlobalResourceObject("HomePage", "List4Description")%>
                </li>
            </ul>
        </div>
        <div class="right w475">
            <div id="shadow">
                <ul>
                    <li class="howtosave">
                        <asp:HyperLink ID="linkC1single" NavigateUrl="~/car-insurance/car-details.aspx" runat="server">
                            <span class="padtop">
                                <span class="t3"><%=GetGlobalResourceObject("HomePage", "CustomerSave")%></span><br />
                                <span class="t6"><%=GetGlobalResourceObject("HomePage", "WantToKnowHow")%></span>
                            </span>
                        </asp:HyperLink>
                    </li>
                </ul>
            </div>
            <div class="clear">
            </div>
            <div id="home_spl">
                <ul>
                    <li class="how2buy">
                        <asp:HyperLink runat="server" ID="hplHowToBuy" NavigateUrl="~/faq/howtopurchase.aspx">
                            <span class="padtop">
                                <span class="t4"><%=GetGlobalResourceObject("HomePage", "HowToBuy")%></span><br />
                                <span class="t5"><%--<%=GetGlobalResourceObject("HomePage", "PaymentNotification")%>--%></span>
                            </span>
                        </asp:HyperLink>
                    </li>
                    <li class="rreminder">
                        <asp:HyperLink runat="server" ID="hplReminder" NavigateUrl="~/car-insurance/set-insurance-reminder.aspx">  
                            <span class="padtop">
                                <span class="t5"><%=GetGlobalResourceObject("HomePage", "CreateCarInsurance")%></span><br />
                                <span class="t4"><%=GetGlobalResourceObject("HomePage", "RenewalReminder")%></span>
                            </span>
                        </asp:HyperLink>
                    </li>
                </ul>
            </div>
        </div>
        <div class="clear">
        </div>
        <div class="seperator">
        </div>
        <div style="width: 100%; background: #f2f2f2; color: #858585; font-size: 12px;">
            <div style="padding: 18px;">
                <asp:HyperLink ID="hplNews1" NavigateUrl="~/news/revolutionizes-carinsurance.aspx" runat="server"><strong>
                    <%=GetGlobalResourceObject("HomePage", "News4")%></strong></asp:HyperLink><br />
                <%=GetGlobalResourceObject("HomePage", "News4Description")%>
                <br />
                <asp:HyperLink ID="hplNews1More" NavigateUrl="~/news/revolutionizes-carinsurance.aspx" runat="server">
                    <%=GetGlobalResourceObject("HomePage", "LearnMore")%></asp:HyperLink>
                <br />
                <br />
                <asp:HyperLink ID="hplNews2" NavigateUrl="~/news/comparison-sites-starting-waves-asia.aspx" runat="server"><strong>
                    <%=GetGlobalResourceObject("HomePage", "News1")%></strong></asp:HyperLink><br />
                <%=GetGlobalResourceObject("HomePage", "News1Description")%>
                <br />
                <asp:HyperLink ID="hplNews2More" NavigateUrl="~/news/comparison-sites-starting-waves-asia.aspx" runat="server">
                    <%=GetGlobalResourceObject("HomePage", "LearnMore")%></asp:HyperLink>
                <br />
                <br />
                <asp:HyperLink ID="hplNews3" NavigateUrl="~/news/motor-insurance-compulsory.aspx" runat="server"><strong>
                    <%=GetGlobalResourceObject("HomePage", "News2")%></strong></asp:HyperLink><br />
                <%=GetGlobalResourceObject("HomePage", "News2Description")%>
                <br />
                <asp:HyperLink ID="hplNews3More" NavigateUrl    ="~/news/motor-insurance-compulsory.aspx" runat="server">
                    <%=GetGlobalResourceObject("HomePage", "LearnMore")%></asp:HyperLink>
                <br />
                <br />
                <asp:HyperLink ID="hplNews4" NavigateUrl="~/news/buying-cheap-car-insurance.aspx" runat="server"><strong>
                    <%=GetGlobalResourceObject("HomePage", "News3")%></strong></asp:HyperLink><br />
                <%=GetGlobalResourceObject("HomePage", "News3Description")%>
                <br />
                <asp:HyperLink ID="hplNews4More" NavigateUrl="~/news/buying-cheap-car-insurance.aspx" runat="server">
                    <%=GetGlobalResourceObject("HomePage", "LearnMore")%></asp:HyperLink>
            </div>
        </div>
    </div>
    <div class="clear">
    </div>
    <div class="padding_lr15px">
        <h2>
        </h2>
        <%--<asp:UpdatePanel ID="upnlSubscribe" runat="server">
                                <ContentTemplate>
                                    <div runat="server" id="divSubscribe" visible="true">
                                        <asp:TextBox ID="txtEmail" runat="server" MaxLength="250" Width="150px"></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="rfvEmail" runat="server" ControlToValidate="txtEmail"
                                            Display="Dynamic" CssClass="validationErrorControl" ErrorMessage="" ValidationGroup="subscriber"></asp:RequiredFieldValidator>
                                        <asp:RegularExpressionValidator ID="revEmail" runat="server" ControlToValidate="txtEmail"
                                            CssClass="validationErrorControl" ErrorMessage="" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"
                                            ValidationGroup="subscriber"></asp:RegularExpressionValidator>
                                        <asp:Button ID="ibtSubscribe" OnClientClick="LoadValidationErrorCss();" ValidationGroup="subscriber"
                                            runat="server" CssClass="button_enews al_mid" OnClick="ibtSubscribe_Click"
                                            ToolTip="Subscribe" />
                                    </div>
                                    <div id="divThankYou" visible="false" runat="server">
                                        <asp:Label Font-Size="Smaller" Font-Bold="true" ForeColor="red" runat="server" Text="<%$ Resources:UserMessage,SubscribeExist%>"
                                            ID="lblExist"></asp:Label>
                                        <asp:Label Font-Size="Smaller" ForeColor="white" runat="server" Text="<%$ Resources:UserMessage,SubscribeThankyou%>"
                                            ID="lblThankYou"></asp:Label>
                                    </div>
                                </ContentTemplate>
                            </asp:UpdatePanel>--%>
    </div>
</asp:Content>
